package com.fzn.spring5;

/**
 * @author fzn
 * @date 2022/2/19
 * @apiNote
 *      2.有参构造注入属性
 */
public class Orders {
    private String name;
    private String address;

    public Orders(String name, String address) {
        this.name = name;
        this.address = address;
    }

    public void ordersTest() {
        System.out.println(name +"::" + address);
    }
}
